#pragma once
//#include <Interface\Ix_Object.h>


typedef int (*AddCategory)(int nParent,LPWSTR lpCate);
typedef int (*AddArticle)(int nClass,LPWSTR lpTitle,LPWSTR lpContent,LPWSTR lpType);

class Ix_ArtImport : public Ix_Object
{
public:
    X3DEFINE_IID(Ix_ArtImport)
	virtual BOOL Open() = 0;
	virtual BOOL ImportContent(const wchar_t* path,int nClass,AddCategory addCate,AddArticle addArt) = 0;
	virtual LPWSTR GetPath() = 0;
};